package com.sclibackup.util;

import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;

public class scheduledExecutor {

private static ScheduledExecutorService scheduExec = null;
	
	public scheduledExecutor(){}
	
	public static ScheduledExecutorService getInstance(){
		if(scheduExec==null){
			scheduExec = Executors.newScheduledThreadPool(2);
		}
		return scheduExec;
	}
}
